package com.cloudbroker.bcs.platform.ltb.bizexport.t2.admin;

import com.cloudbroker.bcs.common.entity.HSBCPSBackVO;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.admin.AdminBannerBizService;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.admin.back.AdminBannerListResult;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.admin.vo.*;
import com.cloudbroker.bcs.platform.ltb.bizapi.t2service.admin.AdminBannerT2BizService;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceParam;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by daibd19671 on 2016/12/7.
 */
@Service
public class AdminBannerT2 implements AdminBannerT2BizService{


    @Resource
    private AdminBannerBizService adminBannerBizService;

    @Override
    public HSBCPSBackVO bannerAdd(@ServiceParam("param") BannerAddForm form) {
        return adminBannerBizService.bannerAdd(form);
    }

    @Override
    public HSBCPSBackVO bannerDelete(@ServiceParam("param") BannerDeleteForm form) {
        return adminBannerBizService.bannerDelete(form);
    }

    @Override
    public HSBCPSBackVO bannerUpdate(@ServiceParam("param") BannerUpdateForm form) {
        return adminBannerBizService.bannerUpdate(form);
    }

    @Override
    public AdminBannerListResult bannerQry(@ServiceParam("param") BannerQryForm form) {
        return adminBannerBizService.bannerQry(form);
    }
}
